Ejemplo n.º 1
0
        protected void InitializeComponents()
        {
            CollisionHandler.DoActionWithCheckReference(() => CollisionHandler.Initialize(this));

            spriteRenderer.DoActionWithCheckReference(() =>
                                                      _spriteRendererTransform = spriteRenderer.GetComponent <Transform>());
        }