Exemple #1
0
        private void Start()
        {
            // initialize data storage
            data_storage = source.GetComponent <Data_storage>();

            _destination        = new Queue <Vector3>();
            current_destination = transform.position;
        }
Exemple #2
0
        // Start is called before the first frame update
        void Start()
        {
            // initialize data storage
            data_storage = source.GetComponent <Data_storage>();


            // get dice rigidbody
            rigidbody          = GetComponent <Rigidbody>();
            init_position      = transform.position;
            _last_roll_outcome = 0;
            is_dice_rolling    = false;
            roll();
        }
Exemple #3
0
 // Start is called before the first frame update
 void Start()
 {
     // initialize data storage
     data_storage = source.GetComponent <Data_storage>();
 }