15 lines
219 B
C#
15 lines
219 B
C#
using Sandbox;
|
|
|
|
public sealed partial class Dedugan
|
|
{
|
|
void UpdateCustomAnimations()
|
|
{
|
|
if ( Network.IsOwner )
|
|
{
|
|
IsDancing = Input.Down( "Dance" );
|
|
}
|
|
|
|
Renderer.Set( "test_dance", IsDancing );
|
|
}
|
|
}
|