private void Start() { nowTransform = dominaModel.position; nowRotation = dominaModel.rotation; humenAttribute = GameObject.FindWithTag("Player").GetComponent <HumenAttributeManage>(); extraView = GameObject.Find("ViewManagment").GetComponent <ExtraMessageView>(); }
// Use this for initialization void Start() { humenAttribute = GameObject.FindWithTag("Player").GetComponent <HumenAttributeManage>(); extraMessageView = GameObject.Find("ViewManagment").GetComponent <ExtraMessageView>(); agent = GameObject.FindWithTag("Player").GetComponent <NavMeshAgent>(); gameMange = GameObject.FindWithTag("Player").GetComponent <GameMange>(); }
private void Awake() { domina = GetComponent <DominaAttribute>(); humenAttribute = GameObject.FindWithTag("Player").GetComponent <HumenAttributeManage>(); placeDomina = GameObject.FindWithTag("Player").GetComponent <PlaceDomina>(); view = GameObject.Find("ViewManagment").GetComponent <ExtraMessageView>(); rigidbody = GetComponent <Rigidbody>(); player = GameObject.FindWithTag("Player").GetComponent <Transform>(); }
// Use this for initialization void Start() { extraMessage = GameObject.Find("ViewManagment").GetComponent <ExtraMessageView>(); }
public void Start() { _rigidbody = GetComponent <Rigidbody>(); extraMessage = GameObject.Find("ViewManagment").GetComponent <ExtraMessageView>(); placeDomina = GameObject.FindWithTag("Player").GetComponent <PlaceDomina>(); }
private void Start() { extraMessage = GameObject.Find("ViewManagment").GetComponent <ExtraMessageView>(); humenAttribute = GameObject.FindWithTag("Player").GetComponent <HumenAttributeManage>(); model = GetComponent <Model>(); }