Пример #1
0
 void Start()
 {
     rb2d     = rb2d ?? go.GetComponent <Rigidbody2D>();
     instance = instance ?? this;
 }
Пример #2
0
 private void Awake()
 {
     instance = instance ?? this;
 }