예제 #1
0
 private void Start()
 {
     aux = AuxManager.instance;
     GM  = GameManager.instance;
     EM  = EffectsManager.instance;
     rb  = GetComponent <Rigidbody2D>();
     grabbableObjectsList = new List <GameObject>();
     grabObjectIndicator  = aux.GetGrabObjectIndicator();
     line      = GetComponent <LineRenderer>();
     camFollow = aux.GetCamera().GetComponent <CameraFollow>();
     throwHook = GetComponent <ThrowHook>();
     hinge     = GetComponent <HingeJoint2D>();
     disJoint  = GetComponent <DistanceJoint2D>();
 }