Skip to content

Instantly share code, notes, and snippets.

View kuma360's full-sized avatar

kuma360 kuma360

  • kuma360
  • hokkyoku
View GitHub Profile
@kuma360
kuma360 / ECS_SCRIPT.cs
Last active May 19, 2018 06:09
単一のEntityを動かすだけ。最小構成のECS
////Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1]
using UnityEngine;
using Unity.Entities;
//IComponentDataを継承した構造体がECSの部品として使える。
struct DATA : IComponentData
{
public int val;
}