Beispiel #1
0
            internal RendererCollection(OutlineBehaviour parent)
            {
                Debug.Assert(parent);

                _parent = parent;
                _go     = parent.gameObject;
            }
 private void OnEnable()
 {
     _effect = (OutlineBehaviour)target;
 }
Beispiel #3
0
 public void Init()
 {
     _go            = new GameObject();
     _outlineEffect = _go.AddComponent <OutlineBehaviour>();
     Init(_outlineEffect);
 }
Beispiel #4
0
 public void SetParent(OutlineBehaviour parent)
 {
     _parent = parent;
 }
 private void OnEnable()
 {
     _effect       = (OutlineBehaviour)target;
     _settingsProp = serializedObject.FindProperty("_outlineSettings");
 }