Beispiel #1
0
 protected override void Start()
 {
     base.Start();
     _rectTransform = transform as RectTransform;
     _inputModule   = CharacterSelectInputModule.Instance;
     if (!_inputModule)
     {
         Destroy(this);
         return;
     }
     _inputModule.AddPointer(this);
 }
 protected override void Awake()
 {
     base.Awake();
     Instance  = this;
     _pointers = new List <PlayerPointer>();
 }