Make the outline config ops

This commit is contained in:
2024-05-09 00:53:57 +02:00
parent 15df44a0eb
commit 6cf3d224d2
5 changed files with 48 additions and 2 deletions
+27
View File
@@ -4,6 +4,9 @@ from pathlib import Path
class FangeProject:
"""
This object is a model to give all Unity project path.
"""
def __init__(self):
self._pref = bpy.context.preferences.addons[__name__.split(".")[0]].preferences
@@ -26,3 +29,27 @@ class FangeProject:
@property
def characters(self):
return self._project_path.joinpath(self._subdir_path, self._characters_path)
class Outline:
"""
Model about the Outline config.
"""
def __init__(self):
self._collections = {
'Placeholder': ['COLOR_01'],
'Icon': ['COLOR_04'],
'Game Object': ['COLOR_05']
}
@property
def placeholder(self):
return 'Placeholder'
@property
def icon(self):
return 'Icon'
@property
def game(self):
return 'Game Object'