Exemplo n.º 1
0
 private void Start()
 {
     nowTransform   = dominaModel.position;
     nowRotation    = dominaModel.rotation;
     humenAttribute = GameObject.FindWithTag("Player").GetComponent <HumenAttributeManage>();
     extraView      = GameObject.Find("ViewManagment").GetComponent <ExtraMessageView>();
 }
Exemplo n.º 2
0
 // 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>();
 }
Exemplo n.º 3
0
 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>();
 }
Exemplo n.º 4
0
 private void Start()
 {
     extraMessage   = GameObject.Find("ViewManagment").GetComponent <ExtraMessageView>();
     humenAttribute = GameObject.FindWithTag("Player").GetComponent <HumenAttributeManage>();
     model          = GetComponent <Model>();
 }