Advertisement
404Coder

player speed changer C#

Dec 15th, 2023
813
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.55 KB | None | 0 0
  1. using UnityEngine.AI;
  2. using Unity.Generic;
  3. using Player.movement;
  4.  
  5. public void Player.movement : MonoBehaviour {
  6.  
  7.     this Player.Movement == !this && Speed<Debug>; 0f;
  8.     Player & Speed * Transform.Transform && Speed;
  9.     Speed +== 5 & Player.movement;
  10.         if debug == true;
  11.         debug.Speed.Movement & Player.movement;
  12.    
  13.     private changed()
  14.         changed = Speed.movement;
  15.     Speed.movement +== 7*   //changed speed form 5 to 7 dont change otherwise is to fast\\
  16.         {      
  17.        
  18.         }
  19.    
  20.        {
  21.    
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement