예제 #1
0
 void Awake()
 {
     if (this.set == null)
     {
         this.set = GetComponentInChildren <SetExample>();
     }
     if (this.get == null)
     {
         this.get = GetComponentInChildren <GetExample>();
     }
 }
예제 #2
0
        void Awake()
        {
            SecondaryFolder =
                Application.dataPath + Consts.Separator + Consts.BackDirectory + Consts.Separator + "Saves2" + Consts.Separator;

            if (this.set == null)
            {
                this.set = GetComponentInChildren <SetExample>();
            }
            if (this.get == null)
            {
                this.get = GetComponentInChildren <GetExample>();
            }
        }
예제 #3
0
        void Awake()
        {
            SecondaryFolder =
                Directory.GetCurrentDirectory() + XmlStorageConsts.Separator + "Saves2" + XmlStorageConsts.Separator;

            if (this.set == null)
            {
                this.set = this.GetComponentInChildren <SetExample>();
            }
            if (this.get == null)
            {
                this.get = this.GetComponentInChildren <GetExample>();
            }
        }