D
D
Denis Fedotov2020-06-17 14:40:55
Unity
Denis Fedotov, 2020-06-17 14:40:55

Was a class, delegate, enum, interface, or struct expected?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class animation : MonoBehaviour {
  }
  
private Animator anim;

void start()
{
    anim = GetComponent<Animator>();
}
  void Update()
  {
if (Input.Getkey(keyCode.leftArrom) || Input.Getkey(keyCode.RightArrom))
{
  anim.SetBol("isRaning", true);
}
else
{
  anim.SetBol("isRaning", false);
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2020-06-17
@denis_fedotov

Are you kidding?
Are you writing in a paper notebook? What is Setball? What is Arrom? Learn seasharp first, don't get into the unit!!!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question