private void Start() { // initialize data storage data_storage = source.GetComponent <Data_storage>(); _destination = new Queue <Vector3>(); current_destination = transform.position; }
// 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(); }
// Start is called before the first frame update void Start() { // initialize data storage data_storage = source.GetComponent <Data_storage>(); }