Пример #1
0
 public SelectedBlock selectedBlock; //選択されているブロックの種類
 // Start is called before the first frame update
 private void Awake()
 {
     tEffect      = gameObject.GetComponent <TEffectInst>();
     rb           = GetComponent <Rigidbody>();
     characterPos = GetComponent <Transform>().position;
     attackObj.GetComponent <Blockid>().category = Blockid.Category.Melee;
 }
Пример #2
0
 // Start is called before the first frame update
 void Start()
 {
     TEI = GetComponent <TEffectInst>();
 }