Esempio n. 1
0
 void OnEnable()
 {
     ft          = (FlyThroughPath)target;
     canvas      = serializedObject.FindProperty("canvas");
     nextPath    = serializedObject.FindProperty("nextPath");
     cam         = serializedObject.FindProperty("cam");
     trigger     = serializedObject.FindProperty("trigger");
     door        = serializedObject.FindProperty("door");
     influencers = serializedObject.FindProperty("inf");
     enemies     = serializedObject.FindProperty("enemies");
 }
 public void Init(FlyThroughPath path, GameObject reference)
 {
     this.path       = path;
     targetReference = reference;
 }