Выдаёт ошибку в юнити Assets\Scripts\PlaerController.cs(7,43): error CS1002: ; expected вот код
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour
{
private CharacterController controller;
public Vector3 dir;
//starte is called before the first frame update
void Start()
{
Controller = GetCompanet();
}
void FixedUpdate()
{
Controller.Move(dir * Time.fixedDeltaTime);
}
}
not(a) and (b or not(c))
Код на Python:
for a in range(0,2):
for b in range(0,2):
for c in range(0,2):
f=not(a) and (b or not(c))
print('A = ',a,'B = ',b,'C = ',c,'F = ',f)
б) А и не ( В и или не С) получим такое выражение:
a and (b or not(c))
Код на Python:
for a in range(0,2):
for b in range(0,2):
for c in range(0,2):
f=a and (b or not(c))
print('A = ',a,'B = ',b,'C = ',c,'F = ',f)
в) не ( не А или В и С) преобразуем:
a and (b or c)
Код на Python:
for a in range(0,2):
for b in range(0,2):
for c in range(0,2):
f=a and (b or c)
print('A = ',a,'B = ',b,'C = ',c,'F = ',f)