예제 #1
0
 private static float3 SpawnOnBottomSide(float3 _position, float _bounds, ScreenInfoComponentData _screenDataComponent)
 {
     return(new float3(_position.x, -(_bounds + _screenDataComponent.m_height) * .5f, 0));
 }
예제 #2
0
 private static float3 SpawnOnLeftSide(float3 _position, float _bounds, ScreenInfoComponentData _screenDataComponent)
 {
     return(new float3(-(_bounds + _screenDataComponent.m_width) * .5f, _position.y, 0));;
 }