Example #1
0
 private void Awake()
 {
     tomeManager  = FindObjectOfType <TomeManager>();
     nearTome     = null;
     equipCommand = gameObject.AddComponent <EquipCommand>();
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     tomeManager = FindObjectOfType <TomeManager>();
 }
Example #3
0
 // Use this for initialization
 void Start()
 {
     playerTM    = GameObject.FindGameObjectWithTag("Player").GetComponent <TomeManager>();
     ray         = Camera.main.ScreenPointToRay(Input.mousePosition);
     startingPos = transform.position;
 }
Example #4
0
 // Use this for initialization
 void Start()
 {
     playerTM = GameObject.FindGameObjectWithTag("Player").GetComponent <TomeManager>();
 }