Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     player = SceneCacheManager.GetCashedObject("Player");
 }
Beispiel #2
0
    public void OnPointerClick(PointerEventData eventData)
    {
        PlayerMovementV2 player = SceneCacheManager.GetCashedObject("Player").GetComponent <PlayerMovementV2>();

        player.OnCombatEngage(gameObject);
    }