Example #1
0
 private void Awake()
 {
     if (localInstance != null && localInstance != this)
     {
         Destroy(this.gameObject);
     }
     else
     {
         localInstance = this;
     }
 }
 void Start()
 {
     wcp = WholeScreenPointer.Instance;
 }