コード例 #1
0
 private void OnEnable()
 {
     memorySteal = GetComponent <IAudiable>();
 }
コード例 #2
0
 // Start is called just before any of the Update methods is called the first time
 private void Start()
 {
     soundEffect = GetComponent <IAudiable>();
     score.text  = "0";
 }