This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//「#Unity1Week」で作った「ポートアイランド付近連続殺人事件」(https://unityroom.com/games/portopia)のソースコードです。 | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using System; | |
public class rootScript : MonoBehaviour { | |
//背景 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1] | |
using UnityEngine; | |
using Unity.Entities; | |
using Unity.Collections; | |
using System.Linq; | |
using System.Collections.Generic; | |
using Unity.Jobs; | |
using Unity.Mathematics; | |
struct POSITION : IComponentData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1] | |
using UnityEngine; | |
using Unity.Entities; | |
using Unity.Collections; | |
using System.Linq; | |
using System.Collections.Generic; | |
using Unity.Jobs; | |
using Unity.Mathematics; | |
struct DATA1 : IComponentData |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1] | |
using UnityEngine; | |
using Unity.Entities; | |
using Unity.Collections; | |
using System.Linq; | |
using System.Collections.Generic; | |
using Unity.Jobs; | |
struct DATA1 : IComponentData | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1] | |
using UnityEngine; | |
using Unity.Entities; | |
using Unity.Collections; | |
using System.Linq; | |
using System.Collections.Generic; | |
using Unity.Jobs; | |
struct DATA1 : IComponentData | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1] | |
using UnityEngine; | |
using Unity.Entities; | |
using Unity.Collections; | |
using System.Linq; | |
using System.Collections.Generic; | |
struct DATA1 : IComponentData | |
{ | |
public int val; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1] | |
using UnityEngine; | |
using Unity.Entities; | |
using Unity.Collections; | |
using System.Linq; | |
using System.Collections.Generic; | |
struct DATA : IComponentData | |
{ | |
public int val; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1] | |
using UnityEngine; | |
using Unity.Entities; | |
using Unity.Collections; | |
using System.Linq; | |
using System.Collections.Generic; | |
struct DATA : IComponentData | |
{ | |
public int val; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1] | |
using UnityEngine; | |
using Unity.Entities; | |
using Unity.Collections; | |
using System.Linq; | |
using System.Collections.Generic; | |
//IComponentDataを継承した構造体がECSの部品として使える。 | |
struct DATA : IComponentData | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Unity2018.2.0b4 [EntityComponentSystem(ECS) ver0.0.12-preview1] | |
using UnityEngine; | |
using Unity.Entities; | |
using Unity.Collections; | |
using System.Linq; | |
using System.Collections.Generic; | |
//IComponentDataを継承した構造体がECSの部品として使える。 | |
struct DATA : IComponentData | |
{ |
NewerOlder