예제 #1
0
        public new void MergeDoubleLoaded(IDTSingleton newInstance)
        {
            CurvyGlobalManager other = newInstance as CurvyGlobalManager;
            // Merge connection from a doubled CurvyGlobalManager before it get destroyed by DTSingleton
            var otherConnections = other.Connections;

            for (int i = 0; i < otherConnections.Length; i++)
            {
                otherConnections[i].transform.SetParent(this.transform);
            }
        }
예제 #2
0
 public virtual void MergeDoubleLoaded(IDTSingleton newInstance)
 {
 }
예제 #3
0
파일: DTSingleton.cs 프로젝트: miccall/xwjl
 protected virtual void MergeDoubleLoaded(IDTSingleton newInstance)
 {
 }